﻿<%@ Page Title="" Language="C#" MasterPageFile="~/allergy/topPage.master" AutoEventWireup="true"
    CodeBehind="~/allergy/search/search.aspx.cs" CodeFile="search.aspx.cs" Inherits="allergy_search_search" %>

<%@ Register Src="../WebTop.ascx" TagName="WebTop" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <style type="text/css">
        .title
        {
            margin-top: 10px;
            font-size: 14px;
        }
        .content
        {
            margin-top: 2px;
            font-size: 12px;
        }
        .highlight
        {
        }
    </style>

    <script src="/allergy/admin/js/jquery-1.4.2.min.js" type="text/javascript"></script>

    <script type="text/javascript">
        function checkkey() {
            var key = $.trim($('[id$=Txt_Key]').val());
            if (key == '') {
                alert('请填写关键字');
            }
        }
    </script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="header_warp" style="height: 270px; background-image: url(http://www.yufangguomin.com/allergy/images/nav.jpg);">
        <div class="header_insde" style="height: 270px; background-repeat: no-repeat; background-position: center 191px;
            background-image: url(http://www.yufangguomin.com/allergy/images/header.jpg)">
            <div id="kvf" style="width: 1003px; height: 191px; position: absolute; z-index: 99; overflow: hidden">
                <embed id="Embed4" width="1003" height="192" wmode="transparent" scale="noscale"
                    menu="false" quality="high" bgcolor="#ffffff" name="motoFlash" src="http://www.yufangguomin.com/allergy/media/1003_192.swf"
                    type="application/x-shockwave-flash"></embed>
            </div>
            <div id="kvt" style="width: 1003px; height: 191px; position: absolute; z-index: 99;
                overflow: hidden; display: none;">
                <img src="http://www.yufangguomin.com/allergy/images/index.jpg" />
            </div>
            <div class="logo" style="height: 116px;">
                <a href="#"></a>
            </div>
            <div class="navleft">
                <div id="rbf0" style="width: 131px; height: 148px; position: absolute; margin-left: 12px; margin-top: 4px;
                    z-index: 100">
                    <embed id="Embed5" width="131" height="148" wmode="transparent" scale="noscale" menu="false"
                        quality="high" bgcolor="#ffffff" name="motoFlash" src="http://www.yufangguomin.com/allergy/media/131_148.swf"
                        type="application/x-shockwave-flash"></embed>
                </div>
                
                <div id="rbt0" style="width: 131px; height: 148px; position: absolute; margin-left: 12px; margin-top: 4px;
                    z-index: 100; display:none;">
                    <img src="http://www.yufangguomin.com/allergy/images/dunpai.png" />
                </div>
                
            </div>
            <uc1:WebTop ID="WebTop" runat="server" />
        </div>
    </div>
<%--    <div class="header_warp" style="background-image: url(/allergy/images/nav6.jpg)">
        <div class="header_insde">
            <div class="logo">
                <a href="#"></a>
            </div>
            <div class="navleft">
            </div>
            <uc1:WebTop ID="WebTop" runat="server" />
        </div>
    </div>--%>
    <form id="form1" runat="server">
    <div class="bodywarp">
        <div class="mianbaoxue">
            <strong>你所在的位置</strong><a href="#">首页</a> > <a href="#">搜索结果</a></div>
        <div class="bodyinside1">
            <div class="result">
                <div class="box">
                    <asp:TextBox ID="Txt_Key" runat="server" Width="300px" Height="20px"></asp:TextBox>
                    <asp:ImageButton ID="Btn_Search" runat="server" ImageUrl="~/allergy/images/result3.png"
                        OnCommand="Btn_Search_Click" CommandName="next" Width="70" Height="20" OnClientClick="checkkey()" />
                </div>
                <div class="txt">
                    <span>关键字：</span><span class="special"><%=kes%></span>
                </div>
                <div class="list">
                    <div style="width: 951px; height: 28px; background-image: url(/allergy/images/result4.png);
                        background-repeat: no-repeat; background-position: bottom">
                    </div>
                    <div class="in">
                        <b>
                            <%=TotalCountRecord%>条</b>&nbsp;相关新闻<br />
                        <img src="/allergy/images/13-3.png" />
                        <asp:Repeater ID="Rep_Resource" runat="server">
                            <ItemTemplate>
                                <div class="r">
                                    <div class="title">
                                        <a href='/allergy/<%# ((System.Data.DataRowView)Container.DataItem)["parentename"] %>/<%# ((System.Data.DataRowView)Container.DataItem)["childenamel"] %>/<%# ((System.Data.DataRowView)Container.DataItem)["STATICPAGENAME"] %>'>
                                            <span style="color: #9E38A3">
                                                <%# ((System.Data.DataRowView)Container.DataItem)["TITLE"]%></span></a></div>
                                    <div class="content">
                                        <%# ((System.Data.DataRowView)Container.DataItem)["SUMMARY"]%><%--<span style="color: #008000;
                                            margin-left: 10px;"><%# ((System.Data.DataRowView)Container.DataItem)["Add_TIME"]%></span>--%></div>
                                </div>
                            </ItemTemplate>
                        </asp:Repeater>
                        <img src="/allergy/images/13-3.png" />
                        <div style="margin: 0px 0px;">
                            <div class="page" style="overflow: auto">
                                <div style="margin-left: 100px;">
                                    <asp:Panel ID="Pan_Page" runat="server">
                                        <asp:Label ID="PageInfo" runat="server"></asp:Label>
                                    </asp:Panel>
                                </div>
                                <%--                                <div class="prev">
                                    <a href="#">
                                        <img src="/allergy/images/4-t5.png" /><span>上一页</span></a></div>
                                <div class="num">
                                    <span><a href="#">1</a></span><span><a href="#">2</a></span><span><a href="#">3</a></span><span><a
                                        href="#">4</a></span><span><a href="#">5</a></span><span><a href="#">6</a></span><span><a
                                            href="#">7</a></span></div>
                                <div class="next">
                                    <a href="#"><span>下一页</span><img src="/allergy/images/4-t6.png" /></a></div>
--%>
                            </div>
                        </div>
                    </div>
                    <div style="clear: both">
                    </div>
                    <img src="/allergy/images/result6.png" />
                </div>
            </div>
        </div>
    </div>
    </form>
    <div class="bodywarp_btn">
    </div>
</asp:Content>
